package cn.itsource.org.domain;

import java.io.Serializable;

import cn.itsource.basic.vali.Phone;
import lombok.Data;

import javax.validation.constraints.Email;

/**
 * 
 * @TableName t_employee
 */
@Data
public class TEmployee implements Serializable {
    /**
     * 员工ID
     */
    private Long id;

    /**
     * 员工名称
     */
    private String username;

    /**
     * 员工电话
     */
    @Phone
    private String phone;

    /**
     * 员工邮箱
     */
    @Email
    private String email;

    /**
     * 盐值
     */
    private String salt;

    /**
     * 密码
     */
    private String password;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 员工状态 - 1启用，0禁用
     */
    private Integer state;

    /**
     * 所属部门ID
     */
    private Long departmentId;

    /**
     * 登录信息ID
     */
    private Long logininfoId;

    /**
     * 店铺ID
     */
    private Long shopId;

    /**
     * 确认密码
     */
    private String comfirmPassword;

    private String departmentName;

    private String shopName;

    private String roleName;

    private String roleId;


    private static final long serialVersionUID = 1L;


}